package com.company.utils;

/**
 * 查询所有订单信息
 */
public class QueryOrderInfo {
    public void queryOrederInfo(){
        System.out.println("------查询订单------");
        for (int i = 0; i <MyOrderUtil.orders.size() ; i++) {
            System.out.println("快递单号: "+MyOrderUtil.orders.get(i).getTrackingNumber());
            System.out.println("收件人信息: "+MyOrderUtil.orders.get(i).getRecipientInfo());
            System.out.println("取件方式: "+MyOrderUtil.orders.get(i).getPickupType());
            System.out.println("寄件日期: "+MyOrderUtil.orders.get(i).pickupDate);
            System.out.println("-------------------");
        }
    }
}
